import { createApp } from "vue";

import App from "./App.vue";
import Panel from "../devtools/Panel.vue";
import Home from "../views/index.vue";


const app = createApp(App);
const panel = createApp(Panel);
const homePage = createApp(Home);
let currentApp = null;

if (window.location.pathname === "/devtools/index.html") {
  currentApp = panel;
} else if (window.location.pathname === "/views/index.html") {
  currentApp = homePage;
} else {
  currentApp = app;
}
currentApp.mount("#app");